/**
 * ajax请求的base路径
 * @type {string}
 * @private
 */
var _api_server = "http://localhost:8080";

/**
 * 获取Url路径中的参数
 * @param sParam
 * @returns
 */
function getURLParameter(sParam){
	var result = location.search.match(new RegExp("[\?\&]" + sParam+ "=([^\&]+)","i"));
	if(result == null || result.length < 1){
		return null;
	}
	return result[1];
}